export default {
  LOGIN_IN(state, params) {
    state.UserToken = params.token
    state.UserName = params.username
    state.Name = params.name
    state.UserId = params.userId
  },
  LOGIN_OUT(state) {
    state.UserToken = '';
    state.UserName = ''
    state.Name = ''
    state.UserId = ''
  },
  toggleNavCollapse(state) {
    state.isSidebarNavCollapse = !state.isSidebarNavCollapse
  }
}
